package com.sy.demo.base;

public class Plus {

	public Plus() {
	}

	
	public void doPlus(int i)
	{
		i = i + 1;
		System.out.println("i current is "+ i);
		if(i < 20)
		{
			doPlus(i);
		}
	}
	/**
	 * Description: 
	 * @Version1.0 10-Jun-09 3:14:28 PM by 孙玮男（sun_sy@188.com）创建
	 * @param args
	 */
	public static void main(String[] args) {
		Plus p = new Plus();
		p.doPlus(10);
		
	}

}
